/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wanhai.itm.wditm101.vo;

import com.wanhai.itm.util.LoadOption;
import com.wanhai.vo.itm.ITM4001VO;
import java.util.List;
import javax.faces.model.SelectItem;

/**
 *
 * @author m2434
 */
public class Wditm101_ITM4001VO extends ITM4001VO {
    private List<SelectItem> dayOfWeekList = LoadOption.getDayOfWeek();
    
    private String dayOfWeekStr;
    
    public String getDayOfWeekStr() {
        for(SelectItem item : dayOfWeekList){
            if(item.getValue().equals(this.getDAY_OF_WEEK())){
                this.dayOfWeekStr = item.getLabel();
            }
        }
        
        return this.dayOfWeekStr;
    }
}
